package com.risenb.dao;

import java.util.List;

import com.risenb.bean.Role;

public interface RoleMapper {
	
    int removeRoleById(Integer id);

    int createRole(Role record);

    Role queryRoleById(Integer id);

    int modifyRoleById(Role record);

    /**
     * 查询所有
     * @param role
     * @return
     */
    List<Role> queryAll(Role role);
    
    /**
     * 删除多个
     * @param ids
     * @return
     */
    int removeRoleByIds(List<String> ids);
    
}